package com.egreen.admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.egreen.common.pojo.entity.admin.OperationRecord;
import com.egreen.admin.dao.OperationRecordDao;
import com.egreen.admin.service.IOperationRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
@Service
public class OperationRecordServiceImpl extends ServiceImpl<OperationRecordDao, OperationRecord> implements IOperationRecordService {
    @Autowired
    OperationRecordDao operationRecordDao;
    @Override
    public List<OperationRecord> checkOpertion() {
        QueryWrapper<OperationRecord>queryWrapper=new QueryWrapper<>();
        List<OperationRecord> operationRecords = operationRecordDao.selectList(queryWrapper);
        return operationRecords;
    }
}
